package com.kancy.demo.streamplus.channel;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * <p>
 * DevChannel
 * <p>
 *
 * @author: kancy
 * @date: 2020/3/13 10:17
 **/

public interface DevChannel {
    String INPUT = "devInput";
    String OUTPUT = "devOutput";

    @Input(INPUT)
    SubscribableChannel input();

    @Output(OUTPUT)
    MessageChannel output();
}
